// 会话管理
import { defineStore } from "pinia";


export const useChatStore = defineStore("chat", {
  state: () => ({
    messageId: "",
  
  }),
  actions: {
    // 创建会话
    creatChat(id) {
      this.messageId = id;
     
    },
    // 清空会话
    clearSession() {
      this.messageId = "";
    },
  },
});
